﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace LackCodePrint
{
    public class MessageUtil
    {
        private const string title = "条码打印";
        public static void Info(string msg) 
        {
            MessageBox.Show(msg, title, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static void Warn(string msg)
        {
            MessageBox.Show(msg, title, MessageBoxButtons.OK, MessageBoxIcon.Warning);
        }

        public static void Error(string msg)
        {
            MessageBox.Show(msg, title, MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

    }
}
